package com.ddpt.permission.export;

import com.lh.center.common.export.ExportAsynService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

@DubboService(group = "permissionExport", interfaceName = "com.lh.center.common.export.ExportAsyncService")
public class PermissionExportAsynService implements ExportAsynService {
    @Resource
    private PerAsyncExportTask task;

    @Override
    public void export(String val) {
        task.createTask(0L, val);
    }
}
